home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / OpenDoc Parts Framework / OPF / Examples / Draw / Include / ToolFrame.h < prev    next >
Encoding:
Text File  |  1994-04-21  |  1.8 KB  |  64 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                ToolFrame.h
  4. //    Release Version:    $ 1.0d1 $
  5. //
  6. //    Author:                Henri Lamiraux
  7. //    Creation Date:        3/28/94
  8. //
  9. //    Copyright:    © 1993, 1994 by Apple Computer, Inc., all rights reserved.
  10. //
  11. //========================================================================================
  12.  
  13. #ifndef TOOLFRAME_H
  14. #define TOOLFRAME_H
  15.  
  16. #ifndef DRAWPART_H
  17. #include "DrawPart.h"
  18. #endif
  19.  
  20. // ----- Framework Includes -----
  21.  
  22. #ifndef FWFRAME_H
  23. #include "FWFrame.h"
  24. #endif
  25.  
  26. //==============================================================================
  27. // Forward Declaration
  28. //==============================================================================
  29.  
  30. class CDrawPart;
  31. class FW_CFacet;
  32. class FW_CFloatingWindow;
  33. class XMPFrame;
  34. class XMPWindow;
  35.  
  36. //==============================================================================
  37. // CToolFrame
  38. //==============================================================================
  39.  
  40. class CToolFrame : public FW_CFrame
  41. {
  42. //------------------------------------------------------------------------------
  43. // Initialization/destruction
  44. //------------------------------------------------------------------------------
  45. public:        
  46.     CToolFrame();
  47.     void InitToolFrame(XMPFrame* xmpFrame, CDrawPart* drawPart);
  48.     virtual ~ CDECL CToolFrame();
  49.  
  50. //------------------------------------------------------------------------------
  51. // Inherited
  52. //------------------------------------------------------------------------------
  53. public:        
  54.     virtual FW_CFacet*         NewFacet(XMPFacet* xmpFacet);
  55.     
  56. //------------------------------------------------------------------------------
  57. // Data Members
  58. //------------------------------------------------------------------------------
  59. private:    
  60.     CDrawPart*                fDrawPart;
  61. };
  62.  
  63. #endif
  64.